Systems and methods for sensor-based detection, alerting and modification of driving behaviors

ABSTRACT

Embodiments of the present invention utilize mobile devices to provide information on a user&#39;s behaviors during transportation. For example, a mobile device carried by a user can be used to detect and analyze driving behavior. The mobile device can further be used to provide alerts based on driving behavior and to encourage and track modification of driving behavior.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Patent Application No. 62/286,218, entitled “SYSTEMS AND METHODS FOR DETECTING AND MODIFYING DRIVING BEHAVIORS”, filed Jan. 22, 2016, the content of which is hereby incorporated by reference in its entirety.

BACKGROUND OF THE INVENTION

Mobile devices, including smart phones, have been utilized to provide location information to users. Mobile devices can use a number of different techniques to produce location data. One example is the use of Global Positioning System (GPS) chipsets, which are now widely available, to produce location information for a mobile device. Some systems have been developed to track driving behaviors including speed, braking, and turn speed. Such systems include external devices that have been physically integrated with vehicles to track driving behavior.

SUMMARY OF THE INVENTION

Despite the progress made in relation to collecting data related to drivers and their driving behavior, there is a need in the art for improved systems and methods related to sensor-based detection, alerting and modification of driving behaviors.

Embodiments of the present invention utilize mobile devices to provide information on a user's behaviors during transportation. For example, a mobile device carried by a user can be used to detect and analyze driving behavior. The mobile device can further be used to alert the user of his or her driving behavior, and encourage and track modification of negative driving behavior.

By monitoring a driver's behavior, determining good versus risky driving behaviors, and presenting results as part of an accessible user experience, some embodiments provide data that can be used to influence driver behavior. As a result, safer driving behavior can be achieved. Some embodiments improve on previous systems by not only collecting information on driver behavior, but influencing the driver's behavior to achieve safer driving. Behavior modification provides a broad category in which a number of behaviors can be modified using a variety of techniques and actions.

Thus, some embodiments allow interested parties to identify and distinguish good and risky driving behaviors. Some embodiments further help drivers understand and improve their driving behavior. As a result, drivers may avoid unnecessary incidents, accidents, and even death. Financially, small impacts improving driving behavior (e.g., less distracted driving, less hard braking events, etc.) across a large population of drivers can have a major impact on society, with potential savings on the orders of billions of dollars.

According to some embodiments, a method is provided. The method comprises identifying a user of a device as a driver of a vehicle. The method further comprises correlating movement of the device to a trip in the vehicle. The method further comprises monitoring at least one behavior of the device in the vehicle. The method further comprises correlating the at least one behavior to at least one driving event. The method further comprises notifying the user of the at least one driving event using the device.

According to some embodiments, a device is provided. The device comprises a memory. The device further comprises a processor coupled to the memory. The processor is configured to perform operations including the steps of the above method.

According to some embodiments, a computer-program product is provided. The computer-program product is tangibly embodied in a non-transitory machine-readable storage medium of a device. The computer-program product includes instructions that, when executed by one or more processors, cause the one or more processors to perform operations including the steps of the above method.

This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used in isolation to determine the scope of the claimed subject matter. The subject matter should be understood by reference to appropriate portions of the entire specification of this patent, any or all drawings, and each claim.

The foregoing, together with other features and embodiments, will become more apparent upon referring to the following specification, claims, and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

Illustrative embodiments of the present invention are described in detail below with reference to the following drawing figures:

FIG. 1 is a system diagram illustrating a driving behavior detection, alert and modification system according to an embodiment of the invention.

FIG. 2 is a system diagram illustrating a driving behavior detection, alert and modification system according to an embodiment of the invention.

FIG. 3 is a flowchart illustrating a driving behavior detection, alert and modification method according to an embodiment of the invention.

FIG. 4 is a flowchart illustrating a method of determining times during which a user is traveling according to an embodiment of the invention.

FIG. 5 is a flowchart illustrating a method of determining modes of transportation during a trip according to an embodiment of the invention.

FIG. 6 is a flowchart illustrating a method of determining a location of a user and device in a vehicle according to an embodiment of the invention.

FIG. 7 illustrates screen shots of audio alerts for modifying driving behavior according to an embodiment of the invention.

FIG. 8 illustrates screen shots of audio alert configuration for modifying driving behavior according to an embodiment of the invention.

FIG. 9 illustrates screen shots of notifications for modifying driving behavior according to an embodiment of the invention.

FIG. 10 illustrates screen shots of notifications for modifying driving behavior according to an embodiment of the invention.

FIG. 11 illustrates screen shots of trip scoring for modifying driving behavior according to an embodiment of the invention.

FIG. 12A illustrates screen shots of determining user driver status according to an embodiment of the invention.

FIG. 12B illustrates a screen shot of the All Trips tab according to an embodiment of the present invention.

FIG. 13 illustrates a graph of risk and claims cost with respect to time according to an embodiment.

FIG. 14 illustrates a process that can be utilized according to an embodiment of the present invention to modify behavior.

FIG. 15 illustrates a method of determining if a trip is insurable according to an embodiment of the present invention.

DETAILED DESCRIPTION OF SPECIFIC EMBODIMENTS

Certain aspects and embodiments of this disclosure are provided below. Some of these aspects and embodiments may be applied independently and some of them may be applied in combination as would be apparent to those of skill in the art. In the following description, for the purposes of explanation, specific details are set forth in order to provide a thorough understanding of embodiments of the invention. However, it will be apparent that various embodiments may be practiced without these specific details. The figures and description are not intended to be restrictive.

The ensuing description provides exemplary embodiments only, and is not intended to limit the scope, applicability, or configuration of the disclosure. Rather, the ensuing description of the exemplary embodiments will provide those skilled in the art with an enabling description for implementing an exemplary embodiment. It should be understood that various changes may be made in the function and arrangement of elements without departing from the spirit and scope of the invention as set forth in the appended claims.

Specific details are given in the following description to provide a thorough understanding of the embodiments. However, it will be understood by one of ordinary skill in the art that the embodiments may be practiced without these specific details. For example, circuits, systems, networks, processes, and other components may be shown as components in block diagram form in order not to obscure the embodiments in unnecessary detail. In other instances, well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail in order to avoid obscuring the embodiments.

Also, it is noted that individual embodiments may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process is terminated when its operations are completed, but could have additional steps not included in a figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination can correspond to a return of the function to the calling function or the main function.

The term “computer-readable medium” includes, but is not limited to, portable or non-portable storage devices, optical storage devices, and various other mediums capable of storing, containing, or carrying instruction(s) and/or data. A computer-readable medium may include a non-transitory medium in which data can be stored and that does not include carrier waves and/or transitory electronic signals propagating wirelessly or over wired connections. Examples of a non-transitory medium may include, but are not limited to, a magnetic disk or tape, optical storage media such as compact disk (CD) or digital versatile disk (DVD), flash memory, memory or memory devices. A computer-readable medium may have stored thereon code and/or machine-executable instructions that may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, or the like.

Furthermore, embodiments may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks (e.g., a computer-program product) may be stored in a computer-readable or machine-readable medium. A processor(s) may perform the necessary tasks.

FIG. 1 is a system diagram illustrating a system 100 for collecting driving data according to an embodiment of the present invention. System 100 may include a mobile device 101 having a number of different components. Mobile device 101 may include a sensor data block 105, a data processing block 120, a data transmission block 130, and a notification block 140. The sensor data block 105 may include data collection sensors as well as data collected from these sensors that are available to mobile device 101. This can include external devices connected via Bluetooth, USB cable, etc. The data processing block 120 may include storage 126, and manipulations done to the data obtained from the sensor data block 105 by processor 122. This may include, but is not limited to, analyzing, characterizing, subsampling, filtering, reformatting, etc. Data transmission block 130 may include any transmission of the data off the phone to an external computing device that can also store and manipulate the data obtained from sensor data block 105, such as by using a wireless transceiver 132 a cellular transceiver 134, and/or direct transmission (e.g., through a cable or other wired connection). The external computing device can be, for example, a server 150. Server 150 can comprise its own processor 152 and storage 156. Notification block 140 may report the results of analysis of sensor data performed by the data processing block 120 to a user of the mobile device 101 via a display, a speaker, a haptic alert (e.g., a vibration), etc. (not shown). The terms “notification” and “alert” may be used interchangeably herein. The functions of notification block 140 are described further herein with respect to FIG. 3 and FIGS. 7-10. In one embodiment, mobile device 101 may further include a scoring block (not shown) to score individual drives or trips, as described further herein with respect to FIG. 3 and FIG. 12A.

Some embodiments of the present invention are described using examples where driving data is collected using a mobile device 101, and these examples are not limited to any particular mobile device. As examples, a variety of mobile devices including sensors such as GPS receivers 110, accelerometers 112, gyroscopes 116, magnetometers 114, microphones 118, compasses 119, barometers 113, location determination systems such as global positioning system (GPS) receivers 110, communications capabilities, and the like are included within the scope of some embodiments. Exemplary mobile devices include smart watches, wearable devices, fitness monitors, Bluetooth headsets, tablets, laptop computers, smart phones, music players, movement analysis devices, and other suitable devices. One of ordinary skill in the art, given the description herein, would recognize many variations, modifications, and alternatives for the implementation of embodiments.

To collect data associated with the driving behavior of a driver, one or more sensors on mobile device 101 (e.g., the sensors of sensor data block 105) may be operated close in time to a period when mobile device 101 is with the driver when operating a vehicle—also termed herein “a drive” or “a trip”. With many mobile devices 101, the sensors used to collect data are components of the mobile device 101, and use power resources available to mobile device 101 components, e.g., mobile device battery power and/or a power source external to mobile device 101.

Some embodiments use settings of a mobile device to enable different functions described herein. For example, in Apple iOS, and/or Android OS, having certain settings enabled can enable certain functions of embodiments. For some embodiments, having location services enabled allows the collection of location information from the mobile device (e.g., collected by global positioning system (GPS) sensors), and enabling background app refresh allows some embodiments to execute in the background, collecting and analyzing driving data even when the application is not executing. In some implementations, alerts (e.g., audio alerts, haptic alerts, visual alerts, etc.) are provided or surfaced using notification block 140 while the app is running in the background since the trip capture can be performed in the background.

FIG. 2 shows a system 200 for collecting driving data that can include a server 201 that communicates with mobile device 101. In some embodiments, server 201 may provide functionality using components including, but not limited to vector analyzer 258, vector determiner 259, external information receiver 212, classifier 214, data collection frequency engine 252, and driver detection engine 254. These components are executed by processors (not shown) in conjunction with memory (not shown). Server 201 may also include data storage 256. It is important to note that, while not shown, one or more of the components shown operating within server 201 can operate fully or partially within mobile device 101, and vice versa.

To collect data associated with the driving behavior of a driver, one or more sensors on mobile device 101 (e.g., the sensors of sensor data block 105) may be operated close in time to a period when mobile device 101 is with the driver when operating a vehicle—also termed herein “a drive” or “a trip”. Once the mobile device sensors have collected data (and/or in real time), some embodiments analyze the data to determine acceleration vectors for the vehicle, as well as different features of the drive. Exemplary processes detect and classify driving features using classifier 214, and determine acceleration vectors using vector analyzer 258 and vector determiner 259. In some embodiments, external data (e.g., weather) can be retrieved and correlated with collected driving data.

As discussed herein, some embodiments can transform collected sensor data (e.g., driving data collected using sensor data block 105) into different results, including, but not limited to, estimates of the occurrence of times where a driver was distracted. Examples of collecting driving data using sensors of a mobile device are described herein. Examples of analyzing collected driving data to detect the occurrence of driving events are also described herein. Although some embodiments are discussed in terms of distracted driving and braking events, embodiments are not limited to these particular behaviors and other driving behaviors are included within the scope of embodiments. Notifications and alerts of driving events may be made via notification block 140 of mobile device 101.

As discussed further below, some embodiments analyze collected driving data and assign scores based on different criteria. Some embodiments use scoring engine 290 to analyze relevant data and rules, and generate scores for embodiments.

Although shown and described as being contained within server 201, it is contemplated that any or all of the components of server 201 may instead be implemented within mobile device 101, and vice versa. It is further contemplated that any or all of the functionalities described herein may be performed during a drive, in real time, or after a drive.

FIG. 3 is a flowchart 300 illustrating a driving behavior detection, alert and modification method according to an embodiment of the invention. At step 310, behavior data is collected from a device. The device may be, for example, mobile device 101 of FIGS. 1 and/or 2. The behavior data may be driving data, such as that collected by one or more sensors within sensor data block 105 of FIG. 1.

At decision block 315, it is determined whether a user of the device is traveling. This may be implied, for example, by analyzing accelerometer or GPS data to determine that the device is moving in a way that is indicative of traveling, i.e., on a particular path or trajectory, at a particular speed (such as above a threshold), in a particular direction, etc. This determination is discussed further herein with respect to FIG. 4. Alternatively, the user may report that s/he is traveling. If the user is not traveling, the method returns to step 310, with behavior data continuing to be collected. If the user is traveling, the method continues at decision block 320.

At decision block 320, it is determined whether the user of the device is traveling in a car. This may be implied, for example, by analyzing accelerometer or GPS data to determine that the device is moving at a speed consistent with traveling by car, and by eliminating other possible modes of transportation, as discussed further herein. This determination is discussed further herein with respect to FIG. 5. Alternatively, the user may report that s/he is traveling in a car. If the user is not traveling in a car, the method returns to step 310, with behavior data continuing to be collected. If the user is traveling in a car, the method continues at decision block 325.

At decision block 325, it is determined whether the user of the device is driving. A variety of methods can be used to make this determination. One exemplary method is discussed further herein with respect to FIG. 6. However, it is contemplated that any of a variety of other methods may be used to determine whether the user of the device is driving. Alternatively, the user may report that s/he is driving. If the user is not driving, the method returns to step 310, with behavior data continuing to be collected. If the user of the device is driving, the method continues at step 330. In some embodiments, if it is determined that the user of the device is driving, this information may be transmitted to a server (e.g., server 150 of FIG. 1 and/or server 201 of FIG. 2) and shared with other users of other devices (e.g., displayed on the mobile devices of contacts within the user device). Thus, users of other devices may take actions based on the driving status of the user of the device, such as refraining from text messaging, calling, or otherwise enabling distracted driving behavior.

FIG. 15 illustrates a method of determining if a trip should be further analyzed as described below according to an embodiment of the present invention. As discussed above, data received from the mobile device (e.g., a phone), which can be referred to as phone sensor data or mobile device data, including, but not limited to location information (e.g., GPS data), meta-data, motion sensor data, and other data, is analyzed to determine if the use is traveling as discussed in relation to 315, if the user is utilizing public transport as discussed in relation to 320, or if the user is in a car as discussed in relation to 325. If the user is driving, then the user is identified as a driver, not a passenger, and the trip can be further analyzed and rated or scored in conjunction with the driver, as described further herein.

Turning back to FIG. 3, at step 330, the collected behavior data is correlated to one or more driving events. Driving events may include, for example, distracted driving events, hard braking events, rapid acceleration events, speeding events, cornering events, and/or the like. For example, data from an accelerometer indicating rapid deceleration may be correlated to a hard braking event. In another example, data from an accelerometer indicating a high rate of acceleration may be correlated to a speeding event. In still another example, data from an accelerometer indicating movement or manipulation of the device by the user within the vehicle during a drive may be correlated to a distracted driving event. Detection and assessment of distracted driving events is described further in U.S. patent application Ser. No. 15/268,049, filed Sep. 16, 2016, entitled “SYSTEMS AND METHODS FOR DETECTING AND ASSESSING DISTRACTED DRIVERS”, herein incorporated by reference in its entirety. The driving events may also indicate positive driving behavior, such as a lack of hard braking events, a lack of speeding events, and/or a lack of distracted driving events. Some embodiments combine data from several sources, for example, driver identification, vehicle dynamics, and the driver's interaction with the mobile device, for instance, touching the screen of the device or moving the device, while going through a corner or speeding. Cross-correlation between the classification of drivers and driving behavior and the driver's actions while driving provide benefits not available with conventional techniques. As an example, assume a person is texting for a total time of 5 seconds during a trip (e.g., because 5 seconds is the average eyes-off-road time when texting, according to a Virginia Tech Transportation Institute study, 2009). The average speed of the trip can be determined, and an alert can be delivered to let the driver better understand that his or her risky behavior effectively had his or her eyes closed for a predetermined portion (e.g., 5 seconds of eyes-off-road time at 55 mph would cover the length of a football field) of the trip. By using a mobile device to classify and correlate behaviors, the driver's behavior that cannot be determined using an external device mounted in the vehicle are available and useful. For instance, if the driver is touching the screen during driving, this can be ascertained by embodiments of the present invention whereas this data is not available using only an external, mounted device. Since the mobile device (e.g., the smartphone) is used as a trip capture device by embodiments of the present invention, device handling and use during the trip can be correlated with vehicle information in new ways as compared to conventional techniques.

At step 335, the driver may be notified through the device of the one or more driving events using one or more notifications. The notification can be in real time, shortly after the driving event occurs, or after the drive is over. As an example of a real time alert, an alert may be pushed to the mobile device as soon as the mobile device is handled by the driver, or after the mobile device has been handled by the driver for a certain duration. The notification can come in the form of, for example, an audio alert, a haptic alert, a visual alert, a push notification, in-application feedback, and/or the like. In some embodiments, the alerts may be customizable. For example, an audio alert may be provided in the voice of a family member to provide greater impact to the driver. In another example, the haptic alert may be customized to vibrate at a particular frequency, duration, pattern, strength, etc., such that the haptic alert of driver behavior may not be confused with another alert (e.g., a text message, phone call, etc.), which may vibrate in a different manner.

Exemplary audio alerts for a “hard brake” and “phone use” while driving are illustrated in FIG. 7. The audio alerts may be enabled, disabled, and configured, as shown in FIG. 8. Audio alerts can take many forms, including GPS information, voice commands, the tone in which the message is delivered, the voice in which the message is delivered, and the like. Embodiments of the present invention enable AB testing of various notification strategies, for example, notification during the trip versus push notification after the completion of the trip. The effectiveness of the educational messages can be measured by the results measured during subsequent drives by the user. Alerts can be tested, with the most effective alerts (e.g., for a given user) delivered to the user in a very user-centric manner. The effectiveness of the messages (e.g., hard braking summary after the trip versus real-time alert through the mobile device) may be measured and vary depending on the particular driving behavior that is being addressed. The AB testing can be performed pre-production as well as ongoing in production in an on-going, continual manner, including cycles of identifying the driver, classifying behaviors, notifying the driver, measuring effectiveness and methods, and looping back to driver identification.

Push notifications can provide negative and/or positive feedback regarding the one or more driving events. Exemplary push notifications providing negative feedback for “hard brakes” and “phone use” while driving are illustrated in FIG. 9. Exemplary push notifications providing positive feedback for “no hard brakes” and “no phone use” while driving are illustrated in FIG. 10. In some embodiments, feedback is given immediately (i.e., in real time), whereas in other embodiments, the feedback is delayed until later in the drive, after the drive, on a periodic basis, after a certain duration of observed behavior (e.g., 30 total seconds of mobile device usage, 5 hard brakes, etc.) or the like. The processing mode in which the system operates, for example, post-processing after the drive, real-time processing during the drive, or the like can be varied depending on circumstances. As an example, if the mobile device is stationary, data can be collected and stored for later processing. However, if the mobile device is picked up, processing could shift to real-time processing either in the cloud, on the server, on the mobile device, a combination thereof, or the like. In one approach, data is sent from the mobile device to a server at the end of the trip and then processed by the server. After processing, the notifications and/or alerts may be sent to the mobile device for display or presentation to the user. In other approaches, some of the processing of the data is performed on the mobile device and notifications are surfaced to the user in real-time. In these implementations, some of the processing can be performed off the mobile device and results sent back as appropriate. In some embodiments, one or more alerts and/or notifications may be temporarily or permanently dismissed or turned off by shaking the mobile device. One of ordinary skill in the art would recognize many variations, modifications, and alternatives.

Turning back to FIG. 3, after the user is notified, subsequent behavior data may be collected from the device at step 340. At step 345, changes in behavior are determined using, in one example, A/B testing. For example, if an audio alert for a “hard brake” was provided at step 335, subsequent acceleration data can be collected and analyzed to determine whether any hard braking occurred after the notification. The results of this analysis may be used to determine the efficacy of the notification in modifying or improving the user's driving behavior. The type and timing of future notifications to the user can be modified based on the efficacy of previous notifications.

FIG. 14 illustrates a process that can be utilized according to an embodiment of the present invention to modify behavior. Driver identification is performed using various methods described herein and in applications incorporated by reference. The driving behavior is classified, including driver risk, and the driver can be notified as described herein, either to educate or simply bring to the user's attention using multiple different methods and channels. Based on the notification, new behaviors and the impact on behavior (either positive, negative, or neutral) can be measured and A/B testing can be implemented in a loop of notifications and measurements of behavior in response to the notifications. Multiple methods of notification and impact can be measured using A/B testing on different target/user groups, for example, to identify the most effective methods of improving behavior, for the given risk. At a high level, the process can be repeated for subsequent driving events as the driver identification process is repeated for each driving event.

FIG. 11 illustrates a graph of risk and claims cost with respect to time according to an embodiment, after a notification is made. As shown, behavior improvement as a result of notification can significantly reduce risk and insurance claims costs over time.

Turning back to FIG. 3, optional step 350, the drive can be scored based on the driving events, as well as on overall driving behavior, and can be displayed to the user in one embodiment. This score may be used to educate the driver on what good and risky driving behavior is and how s/he compares to other drivers. For example, a low score may be given for a driver who has 15 hard brakes in 100 miles, while the national average is 10 hard brakes or less per 100 miles. FIG. 12A illustrates screen shots of the scores associated with five trips or drives. As an example, the first trip was at 6:02 PM from Allston to Brookline and was scored as a “B” score. As shown in FIG. 12A, the user can select or confirm on the summary screen 1210 whether or not s/he was the driver during particular drives in one embodiment. For example, for the Cambridge to Allston trip, the user has confirmed that s/he was the driver. For this trip, the score does not appear, as it has been pushed off the screen for the user to confirm that s/he was the driver. In another example, for the Allston to Coolidge trip, the user has indicated that s/he was not the driver. Thus, this trip will be removed from the summary screen 1210, and the trip's individual score will not be used to calculate the overall driver score of 84 in this example.

Scored trips screen 1220 summarizes all scored trips. Additional details related to each scored trip can be obtained by selecting a trip, which may result in the display of a trip-specific screen showing data about the trip, including the number of hard brakes, percentage of the trip in which the user interacted with the mobile device, percentage of the trip in which the user was speeding, and the like.

The scoring process can include capturing the trips, determining which trips in which the user was the driver, scoring those trips, computing user behavior based on scores, and providing feedback to modify driver behavior and improving driver performance. In some embodiments, whether or not a trip is scored can be determined using driver identification to identify the driver and identification of the mode of transportation. FIG. 12B illustrates a screen shot of all trips, both scored and unscored. For example, FIG. 12B illustrates a flight from Boston to New York, a drive from Cambridge to Allston, a drive from Brookline to Allston, and a train ride from Boston to Providence. The drives from Cambridge to Allston and from Brookline to Allston have been scored, while the flight and train ride have not been scored. The different modes of transportation taken by the user may be determined as discussed further herein.

The scored trips can be considered as trips that the driver undertook while driving, which are indicative of the driver's behavior. Unscored trips, in a similar manner, are trips during which the user was a passenger, which, therefore, do not provide data on the driver's behavior. As an example, all trips could be determined and the trips in which the user was the driver can be scored, while the trips during which the user was not driving can be unscored. As shown in FIG. 13, the user can report his or her typical driving status (i.e., typically a driver, typically a passenger, or a combination) to help identify scorable trips. In some cases, if the certainty of the decision of driving/nondriving trips falls below a threshold, for example, if the trip appears to be a driving trip in comparison with a bus, but it is not clear if the user was driving, then the trip may not be scored. Thus, the score can be only based on driver trips in some embodiments. Further disclosure regarding the scoring of driving trips can be found in U.S. Provisional Patent Application No. 62/346,013, filed Jun. 6, 2016, entitled “SYSTEMS AND METHODS FOR SCORING DRIVING TRIPS”, herein incorporated by reference in its entirety. The other applications incorporated by reference can be useful in determining if a trip is insurable, including trip capture, driver identification, modes of transportation, and the like.

In one embodiment, the driving events may be collected by, or reported to, a central server (such as server 150 of FIG. 1, and/or server 201 of FIG. 2). The central server may use the driving event data, for example, to determine risky driving behavior. The central server may additionally or alternatively use the driving event data to determine the efficacy of notifications in modifying the behavior of particular target or user groups. In some embodiments, high scores and/or indicators of safe driving behavior may be tracked (e.g., on a leaderboard) and/or rewarded (e.g., with tangible and/or intangible rewards). In some embodiments, driving behavior data, driving events, and/or driving scores may be shared with a central server (e.g., server 150 of FIG. 1 and/or server 201 of FIG. 2), either with identifying information or anonymized, in order to analyze the driving behavior of individual drivers and/or to aggregate data of multiple drivers to draw conclusions.

FIG. 4 is a flowchart illustrating a method of determining times during which a user is traveling in a vehicle according to an embodiment of the invention. The method includes determining one or more classifications for the user at step 410. These classifications include walking, driving, stationary, and other, and may be determined by using an accelerometer in the user's device and classifying the rate of movement of the user's device. At step 412, an entry signal is detected which corresponds to the last walking classification before the driving state is found. At step 414, a last driving classification for the user is determined before a walking classification is found again. At step 416, an exit signal is detected corresponding to the first walking classification after the driving event. At step 418, the precise time stamps of the beginning and end of a drive can be determined. Data during this window can be collected and analyzed in real-time, or after the drive. This method is described further in U.S. patent application Ser. No. 14/139,510, filed Dec. 23, 2013, now U.S. Pat. No. 9,398,423, issued on Jul. 19, 2016, entitled “METHODS AND SYSTEMS FOR DRIVER IDENTIFICATION”, herein incorporated by reference in its entirety.

FIG. 5 is a flowchart illustrating a method of determining modes of transportation during a trip according to an embodiment of the invention. This method may be used, for example, to determine that a user of a device is traveling by car, and not by another method. The method illustrated in FIG. 5 utilizes contextual data to remove non-driving modes of transportation from segments of the trip, resulting in the determination of driving segments during the trip. If the trip consists of solely non-driving modes, then the trip can be identified as such and not used to analyze the user's driving behaviors.

In the embodiments illustrated in FIG. 5, contextual data, also referred to as contextual map data, is utilized in determining the modes of transportation during a trip. The contextual map data can be stored in a database that includes data related to transportation systems, including roads, trains, buses, bodies of water, and the like. As an example, location data related to trains could include locations of train stations, locations of train tracks, timetables and schedules, and the like. Furthermore, location data related to a bus system could include bus routes, bus schedules, bus stops, and the like.

Referring to FIG. 5, the method includes receiving trip data at step 501 and receiving contextual data at step 505. Typically, the trip data is measured using a mobile device, such as a smart phone. The trip data can include location data (e.g., GPS data) as a function of time, accelerometer data, combinations thereof, or the like. In some embodiments, in order to prolong battery life, only certain data (e.g., location/GPS data) is utilized, whereas in other embodiments, combinations of data (e.g., the location data supplemented with accelerometer data) may be utilized. One of ordinary skill in the art would recognize many variations, modifications, and alternatives.

In an embodiment, the trip data may be analyzed to determine when stops are present in the trip data. As an example, using a mobile device, the velocity of the mobile device can be determined by analyzing the location data as a function of time. When the velocity of the mobile device drops below a threshold or is equal to zero for a predetermined period of time, a stop in the trip data can be determined. Thus, a trip can be broken down into segments based on the speed of the user. Wherever the measured speed is close to zero, the corresponding GPS point marks the beginning or end of a segment. Once the segments have been created, algorithms can be used as described below to determine the mode of transportation for the segment. In some embodiments, the segments may then grouped based on the determined mode to form stages.

Accordingly, segments can be formed by defining the segments as time periods between stops in the trip data at step 510. Accordingly, for a given trip, a number of segments can be formed, with each segment separated by a stop in the trip data. As an example, if a person using the mobile device is riding on a bus, every time the bus stops can be defined as a segment. The contextual data can be used to determine that one or more of the segments are associated with a bus and the segments can be marked as bus segments. As contiguous segments are associated with a bus, a stage can be formed by linking together contiguous segments to form a stage of the trip associated with travel on a bus. Other modes of transportation can be defined based on segments and stages as well. In some embodiments, segments and stages can be associated with differing modes of transportation, such as walking before and after a bus stage.

The method may also include determining if segments of the trip are associated with planes at step 512 and removing these segments of the trip that are associated with airplanes. Segments may be analyzed so that segments not associated with car travel (for example, starting with plane segments) are removed from the data set, leaving a data set only including car segments. Accordingly, driving data can be separated from other modes of transportation and driving behavior can be analyzed.

Returning to the classification performed at decision block 512, the contextual data received at step 505 includes locations of airports, airport runways, and the like. The location of the points in the trip are compared to the locations associated with airports, which can be represented by airport polygons. Although a taxiing plane can be characterized by speeds comparable to vehicle traffic, the location of the taxiing plane on a runway enables these points in the trip to be removed from the data set as a non-driving event. Thus, both location and vehicle speed as determined using the mobile device can be used to determine that a segment of a trip is associated with a plane. In some embodiments, the segment/stage of the trip associated with an airplane may be marked accordingly.

The segments of the trip that are associated with planes may be marked accordingly at step 514. If the trip data does not include any segments associated with a plane, then the method may proceed to determinations related to other modes of public transportation.

The method may also include determining if segments of the trip are associated with trains at step 516 and removing segments of the trip associated with trains. According to embodiments of the present invention, the category of trains can include various rail-based transportation systems, including commuter trains, light rail, subways, elevated-track trains, and the like. Accordingly, the use of the term “train” should be understood to include these rail-based transportation systems.

Data about the trip may be used in conjunction with contextual data to determine segments of the trip that are associated with train travel and segments that are not associated with train travel. Although a train can move at speeds comparable to vehicle traffic, the location of the train tracks enables these points in the trip to be removed from the data set as a non-driving event. In the embodiment illustrated in FIG. 5, the segments/stages of the trip associated with a train may be marked accordingly at step 518. If the trip data does not include any segments associated with a train, then the method proceeds to determinations related to other modes of public transportation.

At decision block 520, it may be determined if segments of the trip are associated with a bus, and if so, these segments of the trip are removed at step 522. Segments associated with a bus can be identified, for example, by using contextual data such as bus routes, and correlating the travel path or stopping pattern to the bus route. At decision block 524, it is determined if segments of the trip are associated with any other modes of public transportation such as, for example, a ferry. If so, these segments are removed at step 526. The remaining segments are marked as car segments at step 528. This method is more fully described in U.S. patent application Ser. No. 15/149,628, filed May 9, 2016, entitled “MOTION DETECTION SYSTEM FOR TRANSPORTATION MODE ANALYSIS”, herein incorporated by reference in its entirety.

FIG. 6 is a flowchart illustrating a method of determining a location of a mobile device in a vehicle according to an embodiment of the invention, in order to determine whether the user is driving the vehicle. The method illustrated in FIG. 6 provides a direct method of determining where a user and/or a user's mobile device is located in a vehicle and if the user is driving the vehicle during a driving event. The method includes extracting data from the window around the entry signal time stamp at step 610. It should be noted that the methods described in relation to FIG. 6 utilize information related to the entry of the user into the vehicle as described herein. When an individual enters and exits a vehicle, their body turns at least some minimum angle threshold (e.g., 40 degrees) about the z-axis (the z axis, is aligned with gravity, and the yaw is defined as the angular distance in a counter-clockwise direction around the z-axis). After merging the windows form the last walking and first driving classification, this merged window may be analyzed for the exact time when a user turns about the z axis at least some minimum threshold angle. This allows us to narrow down the window to the exact point of entry.

In order to determine if the user entered the vehicle from the left or right, several algorithms can be used in conjunction with each other or separately. As an example, after identifying a precise time window of when the user has entered the vehicle, the user is identified as being on the left or the right side of the vehicle. This is determined using one, multiple, or all of the methods described below.

As illustrated in FIG. 6, the method may run a left vs. right enter yaw algorithm to determine if the driver entered from the left or the right side of the vehicle at step 612. As driving begins, the method may detect an initial (e.g., the first) acceleration event at step 614. Although a first acceleration event is detected in some embodiments, other implementations will utilize an acceleration event early in the driving event, although not the first acceleration event.

Given the detection of the initial acceleration event, the method may also include aligning the phone to the vehicle's (e.g., a car's) reference frame at step 616. Given the alignment of the phone to the reference frame of the vehicle, the method can utilize an acceleration-based algorithm to determine if the driver entered on the left or right side of the vehicle at step 618.

The method further includes determining if the user is in the front or back of the vehicle at step 620. One of multiple methods may be utilized to determine if the user is in the front or back of the vehicle.

Referring once again to FIG. 6, the method may include determining the user's exit from the vehicle. This may include detecting a terminal acceleration (i.e., a braking event) near or at the end of the driving event at step 622. In some implementations, the last braking event in the driving event is determined. Referring to FIG. 4, as the driving event ends, a window can be created around the user's exit from the vehicle, with the window based on or including the end of the driving classification and the first walking classification after the driving event. The last braking event will be in this window.

After driving of the vehicle, the alignment between the phone and the vehicle's reference frame can change. Accordingly the phone is aligned to the vehicle's reference frame after the last braking event is detected at step 624 and data is extracted from the window around the exit signal timestamp at step 626.

In order to determine which side of the vehicle a user exited or was located during the driving event, one or more left vs. right exit algorithms can be utilized at step 630, including a yaw-based algorithm. In some embodiments, a weighted average of the left vs. right algorithms is computed, which is then used to determine the left vs. right and front vs. back location of the user/phone in the vehicle at step 632.

It should be appreciated that the specific steps illustrated in FIG. 6 provide a particular method of determining a location of a driver in a vehicle according to an embodiment of the present invention. Other sequences of steps may also be performed according to alternative embodiments. For example, alternative embodiments of the present invention may perform the steps outlined above in a different order. Moreover, the individual steps illustrated in FIG. 6 may include multiple sub-steps that may be performed in various sequences as appropriate to the individual step. Furthermore, additional steps may be added or removed depending on the particular applications. One of ordinary skill in the art would recognize many variations, modifications, and alternatives.

Further disclosure with respect to driver identification can be found in U.S. patent application Ser. No. 14/139,510, filed Dec. 23, 2013, now U.S. Pat. No. 9,398,423, issued Jul. 19, 2016, entitled “METHODS AND SYSTEMS FOR DRIVER IDENTIFICATION”, herein incorporated by reference in its entirety.

As noted, the computer-readable medium may include transient media, such as a wireless broadcast or wired network transmission, or storage media (that is, non-transitory storage media), such as a hard disk, flash drive, compact disc, digital video disc, Blu-ray disc, or other computer-readable media. The computer-readable medium may be understood to include one or more computer-readable media of various forms, in various examples.

In the foregoing description, aspects of the application are described with reference to specific embodiments thereof, but those skilled in the art will recognize that the invention is not limited thereto. Thus, while illustrative embodiments of the application have been described in detail herein, it is to be understood that the inventive concepts may be otherwise variously embodied and employed, and that the appended claims are intended to be construed to include such variations, except as limited by the prior art. Various features and aspects of the above-described invention may be used individually or jointly. Further, embodiments can be utilized in any number of environments and applications beyond those described herein without departing from the broader spirit and scope of the specification. The specification and drawings are, accordingly, to be regarded as illustrative rather than restrictive. For the purposes of illustration, methods were described in a particular order. It should be appreciated that in alternate embodiments, the methods may be performed in a different order than that described.

Where components are described as performing or being “configured to” perform certain operations, such configuration can be accomplished, for example, by designing electronic circuits or other hardware to perform the operation, by programming programmable electronic circuits (e.g., microprocessors, or other suitable electronic circuits) to perform the operation, or any combination thereof

The various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, firmware, or combinations thereof. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

The techniques described herein may also be implemented in electronic hardware, computer software, firmware, or any combination thereof. Such techniques may be implemented in any of a variety of devices such as general purposes computers, wireless communication device handsets, or integrated circuit devices having multiple uses including application in wireless communication device handsets and other devices. Any features described as modules or components may be implemented together in an integrated logic device or separately as discrete but interoperable logic devices. If implemented in software, the techniques may be realized at least in part by a computer-readable data storage medium comprising program code including instructions that, when executed, performs one or more of the methods described above. The computer-readable data storage medium may form part of a computer program product, which may include packaging materials. The computer-readable medium may comprise memory or data storage media, such as random access memory (RAM) such as synchronous dynamic random access memory (SDRAM), read-only memory (ROM), non-volatile random access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), FLASH memory, magnetic or optical data storage media, and the like. The techniques additionally, or alternatively, may be realized at least in part by a computer-readable communication medium that carries or communicates program code in the form of instructions or data structures and that can be accessed, read, and/or executed by a computer, such as propagated signals or waves.

The program code may be executed by a processor, which may include one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, an application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Such a processor may be configured to perform any of the techniques described in this disclosure. A general purpose processor may be a microprocessor; but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. Accordingly, the term “processor,” as used herein may refer to any of the foregoing structure, any combination of the foregoing structure, or any other structure or apparatus suitable for implementation of the techniques described herein. In addition, in some aspects, the functionality described herein may be provided within dedicated software modules or hardware modules configured for encoding and decoding, or incorporated in a combined video encoder-decoder (CODEC). 

What is claimed is:
 1. A method comprising: receiving motion data from the mobile device; identifying a user of a mobile device as a driver of a vehicle; correlating movement of the mobile device to a trip in the vehicle; monitoring at least one behavior of the mobile device in the vehicle; correlating the at least one behavior to at least one driving event; and notifying the user of the at least one driving event using the mobile device.
 2. The method of claim 1, further comprising: continuing to monitor the at least one behavior of the mobile device in the vehicle after notifying the user of the at least one driving event; and determining whether the at least one behavior of the mobile device changed after notifying the user of the at least one driving event.
 3. The method of claim 1, further comprising assigning a score to the trip based on the at least one driving event.
 4. The method of claim 1, wherein the user is notified by at least one of an audio alert, a push notification, a haptic alert, or in-application feedback.
 5. The method of claim 1, wherein the user is notified of the at least one driving event during the trip in the vehicle.
 6. The method of claim 1, wherein the at least one behavior comprises at least one of a motion behavior or a state of use behavior.
 7. The method of claim 6, wherein the motion behavior comprises at least one of speed, acceleration, location, or orientation.
 8. The method of claim 6, wherein the state of use behavior comprises at least one of type of use, time of use, or whether the mobile device is being actively used during the trip in the vehicle.
 9. The method of claim 1, wherein the at least one driving event comprises at least one of a braking event, a speeding event, a distracted driving event, a non-braking event, a non-speeding event, or a non-distracted driving event.
 10. The method of claim 1, wherein identifying the user of the mobile device as the driver of the vehicle comprises utilizing the motion data.
 11. A mobile device comprising: a memory; a motion data unit; and a processor coupled to the memory, wherein the processor is configured to perform operations including: receiving motion data from the motion data unit; identifying a user of the mobile device as a driver of a vehicle; correlating movement of the mobile device to a trip in the vehicle; monitoring at least one behavior of the mobile device in the vehicle; correlating the at least one behavior to at least one driving event; and notifying the user of the at least one driving event.
 12. The device of claim 11, wherein the operations further include: continuing to monitor the at least one behavior of the mobile device in the vehicle after notifying the user of the at least one driving event; and determining whether the at least one behavior of the mobile device changed after notifying the user of the at least one driving event.
 13. The device of claim 11, wherein the operations further include assigning a score to the trip based on the at least one driving event.
 14. The device of claim 11, wherein the user is notified by at least one of an audio alert, a push notification, a haptic alert, or in-application feedback.
 15. The device of claim 11, wherein the user is notified of the at least one driving event during the trip in the vehicle.
 16. The device of claim 11, wherein the at least one behavior comprises at least one of a motion behavior or a state of use behavior.
 17. The device of claim 16, wherein the motion behavior comprises at least one of speed, acceleration, location, or orientation.
 18. The device of claim 16, wherein the state of use behavior comprises at least one of type of use, time of use, or whether the device is being actively used during the trip in the vehicle.
 19. The device of claim 11, wherein the at least one driving event comprises at least one of a braking event, a speeding event, a distracted driving event, a non-braking event, a non-speeding event, or a non-distracted driving event.
 20. The mobile device of claim 11, wherein identifying the user of the mobile device as the driver of the vehicle comprises utilizing the motion data. 